import { createStore } from 'vuex'
import createPersistedstate from 'vuex-persistedstate'

import car from './car'

const store = createStore({
  modules: {
    car
  },
  plugins: [
    createPersistedstate({
      key: 'carxxf2',
      paths: ['car']
    })
  ]
})

export default store
